//中间件
import { NestMiddleware, Next } from "@nestjs/common";
import { NextFunction } from "express";

export class LoggerMiddleware implements NestMiddleware{
    use(req: Request, res: Response, next: NextFunction) {
        console.log('请求开始',res,req);
        next();
        
    }



}